<?php

require_once('classes/user_info.php');

$user = new User;
$name = ucwords(strtolower($_POST['name']));
$username = $_POST['username'];
$email = $_POST['email'];
$password = $_POST['password'];
$user -> createUser($name,$username,$email,$password);

header('Location: login.php');
?>